package com.tmt.im.service.controller.vo;

import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

/**
 * 管理员信息
 *
 * @Description TODO
 * @Author wuyi
 * @Date 2024/8/29 9:49
 * @Version 1.0
 **/
@Getter
@Setter
public class NewManagerRequest implements Serializable {

    @Serial
    private static final long serialVersionUID = 8206926798093674010L;

    @NotNull(message = "群组ID不能为null")
    @Min(value = 1, message = "群组ID不能小于1")
    private Long tid;

    @NotNull(message = "管理员列表不能为null")
    @NotEmpty(message = "管理员列表不能为空列表")
    private List<Long> managerIds;
}
